package com.starblink.utils.log.report

import com.starblink.utils.log.SKLogger

/**
 *  only log
 *  Create by yuanl at 2023/5/23
 **/
internal class DefaultReporter: IErrorReporter {

    override fun report(msg: String) {
        SKLogger.e(TAG, msg)
    }

    override fun report(throwable: Throwable) {
        SKLogger.wtf(TAG, throwable.message ?: "", throwable)
    }

    private companion object {
        const val TAG = "DefaultReporter"
    }

}